package com.sc.nft.admin.controller;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class UpdatePledgeTaskJoinCountRequest {

    @ApiModelProperty("质押任务id")
    @NotNull(message = "质押任务id不能为空")
    private Long id;

    @ApiModelProperty("参加人数")
    @NotNull(message = "参加人数不能为空")
    @Range(min = 1, max = 99999, message = "激活份数取值范围不正确")
    private Integer joinCount;
}
